<?php

namespace app\model\user;

use app\model\BaseModel;

class Cashflows extends BaseModel
{
    protected $autoWriteTimestamp = true;
    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';

    public function category()
    {
        return $this->hasOne(Categories::class, 'id', 'category_id');
    }
}
